branchbefore/main/GC Optimizationscancel
9 Commits over 0 Days - ∞cph!
Work in progress on optimizing Alloc/Dealloc/GC-issues in DM and Unit+Senses.
Perceived/Known Units and Perceived/Known Smart Objects in Unit+Senses and DM are now optimized.
Known Smart Objects in Group+Knowledge is now optimized.
KnownBuildings and misc touchups.
Surrounding Units and Surrounding SmartObjects are now moved to the new fixed array approach.
Created a FixedArray class that handles all this fixed array stuff, letting us work safely with the arrays using IEnumerable (foreach, etc).
DM decisions optimized (but not tested yet).
Agents that are Units actually store unit properly (well, semi-properly) now in DM.